{% extends "admin/change_list.html" %}
{% load i18n %}

{% block object-tools-items %}
    {% if has_add_permission %}
    <li><a href="{% url treenav_refresh_hrefs %}" title="{% trans "Refresh all cached menu item HREFs in the database" %}">{% trans "Refresh HREFs" %}</a></li>
    <li><a href="{% url treenav_clean_cache %}" title="{% trans "Remove all MenuItems from Cache." %}">{% trans "Clean Menu Cache" %}</a></li>
    {% endif %}
    {{ block.super }}
{% endblock %}
